package com.zys.principles.demo1.emp3;

public class Vehicle {
    public void runRoad(String vehicle){
        System.out.println(vehicle + " is running on the road");
    }
    public void runAir(String vehicle){
        System.out.println(vehicle + " is running on the air");
    }
    public void runWater(String vehicle){
        System.out.println(vehicle + " is running on the water");
    }
}
